package com.datseek.iot.rule.manager.service;

import com.dataseek.iot.mysql.entity.ActivityRule;
import com.dataseek.iot.mysql.service.impl.ActivityRuleServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author cc
 * @Title: rule CURD
 * @Description: rule CURD
 * @date 2021/9/178:41 下午
 * @since 1.0
 */
@Repository
public class RuleRepository {

    @Autowired
    ActivityRuleServiceImpl activityRuleService;


    public List<ActivityRule> selectAll(){
       return activityRuleService.list();
    }



}
